a = [1,"上午","思修","下午","大英、中西方哲学社会科学研究","晚上","网页设计与制作"]
b = [2,"上午","网页设计与制作","下午","AI、毛概理论","晚上","毛概实践"]
c = [3,"上午","python语言","晚上","大英"]
d = [4,"上午","散打","下午","网站运营与管理"]
e = [5,"上午","API"]
riqi = input("请输入星期几的阿拉伯数字")
riqi = int(riqi)
shijian = input("请输入上、下午的字符串")
if riqi == a[0]:
    if shijian == a[1]:
        print(a[2])
    elif shijian == a[3]:
        print(a[4])
    elif shijian == a[5]:
        print(a[6])
    else:
        print("没课")
elif riqi == b[0]:
    if shijian == b[1]:
        print(b[2])
    elif shijian == b[3]:
        print(b[4])
    elif shijian == b[5]:
        print(b[6])
    else:
        print("没课")
elif riqi == c[0]:
    if shijian == c[1]:
        print(c[2])
    elif shijian == c[3]:
        print(c[4])
    else:
        print("没课")
elif riqi == d[0]:
    if shijian == d[1]:
        print(d[2])
    elif shijian == d[3]:
        print(d[4])
    else:
        print("没课")
elif riqi == e[0]:
    if shijian == e[1]:
        print(e[2])
    else:
        print("没课")
else:
    print("没课")
